package
{
   import flash.external.ExternalInterface;
   
   /**
    * Call javascript "alert" to show browser alert message.
    * @usage
    * Trace2('Hello World');
    */
   public function Trace3(...args):void
   {
      if (ExternalInterface.available)
      {
         ExternalInterface.call('alert', args);
      }
      
      trace.apply(null, args);
   }
   
   // --------------------- LINE ---------------------
   
}